package com.exm.collectcodenew.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping("/hello1")
    public String hello() {
        return "hello1";
    }
    @RequestMapping("/zeroException")
    public int zeroException(){
        return 100/0;
    }

}
